import Vue from 'vue'
import Router from 'vue-router'
import Login from '@/components/Login.vue'
import GoToLogin from '@/components/GoToLogin'
import Home from '@/components/Home'
Vue.use(Router)

export default new Router({
    routes: [{
        path: '/',
        name: 'Login',
        component: Login
    },{
        path: '/goToLogin',
        name: 'GoToLogin',
        component: GoToLogin
    },{
        path: '/home',
        name: 'Home',
        component: Home
    }
    ]
})